
//
//  ExchangeListEntity.m
//  HYApp
//
//  Created by Jianbo Cai on 2020/8/27.
//  Copyright © 2020 Unidax. All rights reserved.
//

#import "ExchangeListEntity.h"
#import "NSString+Extra.h"

@implementation ExchangeListEntity

+ (nullable NSDictionary<NSString *, id> *)modelCustomPropertyMapper {
    return @{
             @"ID": @[@"id", @"trade_id"]
             };
}

- (void)setDate:(NSString *)date {
    _date = [date timespToUTCFormat:@"yyyy-MM-dd HH:mm:ss"];
}

@end
